package com.epkursant.testy;

import java.util.List;

import org.hibernate.Criteria;

import com.ep.general.GeneralClassMdt;

public class TestMdt extends GeneralClassMdt<Test> {

	public TestMdt() {
		super(Test.class);
	}

	public List<Test> getList() {
		getSession().beginTransaction();
		Criteria crit = getSession().createCriteria(Test.class);
		return list(crit);
	}
}
